<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>管理中心 - Powered By BETOU.NET</title>
<meta name="author" content="BETOU.NET Team" />
<meta name="copyright" content="BETOU.NET" />
<link href="${base}/res/betou/css/common.css" rel="stylesheet" type="text/css"/>
<link href="${base}/res/betou/css/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${base}/res/common/js/jquery-1.11.0.min.js"></script>
<link href="${base}/thirdparty/ztree/css/core.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${base}/thirdparty/ztree/js/core.js"></script>
<style type="text/css">
*{
	font: 12px tahoma, Arial, Verdana, sans-serif;
}
html, body {
	width: 100%;
	height: 100%;
	overflow: hidden;
}
</style>
<script type="text/javascript">
var setting = {
		async: {
			enable: true,
			url:"v_tree.do",
			autoParam:["root"],
			dataFilter: filter
		}
};

$(function(){
	$.fn.zTree.init($("#accountTree"),setting);
});
function filter(treeId, parentNode, childNodes) {
	if (!childNodes) return null;
	for (var i=0, l=childNodes.length; i<l; i++) {
		childNodes[i].name = childNodes[i].name.replace(/\.n/g, '.');
	}
	return childNodes;
}
</script>

</head>
<body>
	<table class="main">
		<tr>
			<td id="menu" class="menu">
				<dl  class="default">
					<dt>
						<a href="javascript:location.href=location.href"><@s.m "global.refresh"/></a>
						<@cms_perm url="/model/v_list.do">&nbsp;|&nbsp;<a href="../model/v_list.do" target="rightFrame"><@s.m "cmsModel.function"/></a></@cms_perm>
					</dt>
					<dd></dd>
				</dl>
				<ul id="accountTree" class="ztree"></ul>
			</td>
		</tr>
	</table>
</body>
</html>

